package com.example.dao;
import com.example.bean.UserBean;
import java.util.List;
public interface UserDao {
    List<UserBean> findAll();
    List<UserBean> findByUserName(String username);
    boolean addUser(UserBean user);
    boolean updateByUserName(String username,String password);
    boolean deleteByUserName(String username);

    boolean updateUserInfo(String currentusername,String em,String te,String pwd);
    boolean levelUp(String username);

}
